namespace Profit
{
    using System;
    using Diagnostic;

    /// <summary>
    /// Strongly typed TraceEvents fixed size observable collection
    /// </summary>
    public sealed class TraceEventsObservableCollection
        : FixedSizeObservableCollection<TraceEventArgs>
    {
        /// <summary>
        /// Initializes a new instance of the <see cref="T:Profit.FixedSizeObservableCollection`1"/> class.
        /// </summary>
        /// <param name="maxItemCount">The maximum items count</param>
        /// <exception cref="ArgumentOutOfRangeException">maxItemCount must be greater than 1.</exception>
        public TraceEventsObservableCollection(int maxItemCount) 
            : base(maxItemCount){ }
    }
}